//
// Created by Administrator on 2022-11-29.
//

#ifndef OPENGLDEMO_CCRENDER_H
#define OPENGLDEMO_CCRENDER_H

#include "CCTexture.h"
#include "CCOpenGLShader.h"

class CCRender{
public:
    CCRender();
    ~CCRender();
    //旋转角度
    float m_angle =0.0f;
    CCTexture ccTexture;
    CCOpenGLShader ccOpenGlShader;
    void initGL();
    void paintGL();
    void resizeGL(int width,int height);
    void drawTriangle();
};


#endif //OPENGLDEMO_CCRENDER_H
